<template>
  <div class="breadcrumb">
    <el-breadcrumb :separator-icon="ArrowRight">
      <el-breadcrumb-item class="cur" :to="{ path: '/' }">首页</el-breadcrumb-item>
      <slot></slot>
    </el-breadcrumb>
  </div>
</template>

<script>
import { ArrowRight } from '@element-plus/icons-vue'
export default {
  name: "index",
  data() {
    return {
      ArrowRight
    }
  }
}
</script>

<style lang="scss">
.breadcrumb {
  color: #77cfff;
  font-size: 16px;
  height: 45px;
  display: flex;
  justify-content: flex-start;
  margin-left: 30px;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: flex-start;

  .el-breadcrumb__inner a, .el-breadcrumb__inner.is-link {
    color: #90c6f2;
    font-size: 16px;
  }

  .el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
    color: #90c6f2;
  }
}
</style>
